####debian 6 xp install vnc without xfce
apt-get update
apt-get install vnc4server qemu -y
vncserver
chmod +x ~/.vnc/xstartup
echo 'qemu  -hda winxp.img -m 128M -net nic,model=virtio -net user -redir tcp:3389::3389'>>/root/.vnc/xstartup
wget http://iwanc.googlecode.com/files/vncserver
cp vncserver /etc/init.d/
chmod +x /etc/init.d/vncserver
update-rc.d vncserver defaults
wget "http://iwanc.com/baidu.php?shareid=317215&uk=3593406437" -O url
url=`cat url`
rm -rf url
wget $url -O winxp.img
reboot
